package com.senseauto.ffmpegrecordvideo;

public class Pusher {
    static {
        System.loadLibrary("native-lib");
        System.loadLibrary("avfilter");
        System.loadLibrary("avcodec");
        System.loadLibrary("avformat");
        System.loadLibrary("avutil");
        System.loadLibrary("swresample");
        System.loadLibrary("swscale");
        System.loadLibrary("fdk-aac");
    }
    public static native int init(String destUrl, int w, int h);

    public static native int push(byte[] bytes, int w, int h);

    public static native int stop();
}